﻿app.views.Attendees = Ext.extend(Ext.Panel, {
    items: [{
            xtype: 'toolbar',
            title: 'Attendees',
            items: [{
                html: 'Back',
                ui: 'back',
                handler: function () {
                    Ext.dispatch({
                        controller: app.controllers.navigation,
                        action: 'backToVoteShow'
                    });
                }
            }]
        }, {
            xtype: 'list',
            disableSelection: true,
            id: 'views.Attendees.attendeeList',
            store: app.stores.Attendees,
            itemTpl: 
            '<div class="contact"><strong>{Name}</strong> {Email}</div>'
                       
        }]
});